package com.yunduansing.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yunduansing.core.model.RoleMenuModel;
import com.yunduansing.core.model.RoleModel;

public interface RoleDao extends BaseDao<RoleModel> {
	int addRoleMenuButtons(List<RoleMenuModel> list);
	int deleteRoleMenuButtons(int roleId);
	List<String> getButtonCodeByMenuUrl(@Param(value="list") List<Integer> list,@Param(value="menuUrl") String menuUrl);
	List<RoleModel> getAll();
}
